
/*
 * sh: a sample and hold module
 *
 * produces samples the inputs when trigger is not 0
 *
 * inputs:
 * 	trigger: like it says
 * 	numbered inputs: values to be sampled.  each will be copied
 * 		to its corresponding numbered output when the trigger
 * 		is nonzero
 *
 * outputs:
 * 	numbered outputs:
 * 		there is one output for each input.  they are initialized
 * 		to zero.  i should probably come up with a way to
 * 		initialize them to something else.
 * 
 * initialization paramaters:
 * count: the number of inputs and outputs this module has.  must be initialized
 * 	before any patching is done (including patching trigger).
 * 
 */

void module_sh_initializer(module m);

